<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>朝闻天下后台管理</title>

    <include file="Public/head"/>




    <link href="__PUBLIC__/assets_h/stylesheets/datepicker.css" media="all" rel="stylesheet" type="text/css"/>
    <script src="__PUBLIC__/assets_h/javascripts/jquery.bootstrap.wizard.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/fullcalendar.min.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/jquery.dataTables.min.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/jquery.easy-pie-chart.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/jquery.isotope.min.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/jquery.fancybox.pack.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/select2.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/jquery.inputmask.min.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/jquery.validate.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/bootstrap-fileupload.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/bootstrap-datepicker.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/bootstrap-timepicker.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/daterange-picker.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/date.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/jquery.sparkline.min.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/main.js" type="text/javascript"></script>

    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">

</head>
<body class="no-skin">
<include file="Public/header"/>

<div id="wrap" style="margin-bottom: 60px">
    <div class="container-fluid">
        <include file="Public/sidmenu"/>
        <div class="col-md-10 col-md-offset-2 " style="margin-bottom: 30px">
            <h2 style="color: #56abe4; margin-bottom: 0px;padding-bottom: 0px;">
                <p class="bg-white" style="font-weight:bold;margin-bottom: 10px;margin-top: 10px;font-size: 30px">新闻详情</p>
            </h2>
            <hr>
        </div>

        <div class="col-md-5  col-md-offset-4" style="">
            <div class="row">
                <div class="col-md-1"></div>
                <div class="col-md-10">
                    <table class="table table-bordered">
                        <volist name="list" id="vo">
                        <tr>
                            <th style="width: 30%">类别名称</th>
                            <td>{$vo['tid']}</td>
                        </tr>
                        <tr>
                            <th>标题</th>
                            <td>{$vo['title']}</td>
                        </tr>
                        <tr>
                            <th>内容</th>
                            <td>{$vo['content']}</td>
                        </tr> <tr>
                            <th>发布时间</th>
                        <td>{$vo['publishment']}</td>
                        </tr>
                        <tr>
                            <th>发布状态</th>
                            <td><if condition="($vo.satus eq 1)">已通过<else/>未通过</if></td>
                        </tr>
                        <tr>
                            <th>发布人</th>
                            <td>{$vo['username']}</td>
                        </tr>
                        <tr>
                            <th>置顶</th>
                            <td><if condition="($vo.top eq 1)">置顶<else/>未置顶</if></td>
                        </tr>
                        <tr>
                            <th>新闻图片</th>
                            <td><img src="__PUBLIC__/images/pic/{$vo.n_pic}" style="border-radius:50% ; width:50px;height: 50px;" alt="空"></td>
                        </tr>
                        </volist>
                    </table>
                    <a href="{:U('News/index')}" >
                        <button type="button" class="btn btn-success" style="margin-top: 2%;float: right">返回</button>
                    </a>
                    <a href="{:U('News/update')}?id={$vo['id']}" >
                        <button type="button" class="btn btn-primary" style="margin-top: 2%;float: right">修改</button>
                    </a>
                </div>
                <div class="col-md-1">

                </div>
            </div>











        </div>


    </div>
</div>
</body>
</html>
